//
//  AppDelegate.h
//  WorkNest
//
//  Created by Billy on 15/7/3.
//  Copyright (c) 2015年 nest. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "GeTuiSdk.h"

#define kAppId           @"9kNliNTwqI7u5CjWGRa9A2"
#define kAppKey          @"IWDkVzLjau8Mf2MEqo8VU"
#define kAppSecret       @"ZwT7doLZrM6am4MIZKJih8"

@interface AppDelegate : UIResponder <UIApplicationDelegate> {
@private
NSString *_deviceToken;
}

@property (strong, nonatomic) UIWindow *window;

@property (retain, nonatomic) NSString *appKey;
@property (retain, nonatomic) NSString *appSecret;
@property (retain, nonatomic) NSString *appID;
@property (retain, nonatomic) NSString *clientId;
@property (assign, nonatomic) SdkStatus sdkStatus;

@property (assign, nonatomic) int lastPayloadIndex;
@property (retain, nonatomic) NSString *payloadId;

//- (void)startSdkWith:(NSString *)appID appKey:(NSString *)appKey appSecret:(NSString *)appSecret;
//- (void)stopSdk;
//
//- (void)setDeviceToken:(NSString *)aToken;
//- (BOOL)setTags:(NSArray *)aTag error:(NSError **)error;
//- (NSString *)sendMessage:(NSData *)body error:(NSError **)error;
//
//- (void)bindAlias:(NSString *)aAlias;
//- (void)unbindAlias:(NSString *)aAlias;
//
//- (void)testSdkFunction;
////- (void)testSendMessage;
//- (void)testGetClientId;

@end

